package com.cooldatasoft.domain.service;

import java.util.List;

import com.cooldatasoft.domain.model.Document;
import com.cooldatasoft.domain.model.DocumentType;
import com.cooldatasoft.domain.model.Project;

public interface DocumentService {

	Long insertDocument(Document doc);

	void updateDocument(Document doc);
	
	void deleteDocument(Long id);

	List<Document> getAllDocuments();
	
	Document getById(Long id);

	Document getByProjectAndType(Project project, DocumentType type);
	
	List<Document> getByProject(Project project);
}
